<div class="ui segment">
    {{ form_errors(form) }}
    {{ form_row(form.code) }}
</div>
<div class="ui segment">
    <h4 class="ui dividing header">{{ 'sylius.ui.expiration_and_usage_limits'|trans }}</h4>
    <div class="three fields">
        {{ form_row(form.expiresAt) }}
        {{ form_row(form.usageLimit) }}
        {{ form_row(form.perCustomerUsageLimit) }}
    </div>
</div>
